﻿<%@ Page Language="C#" MasterPageFile="~/Manager.master" AutoEventWireup="true" CodeFile="AddMenu.aspx.cs"
    Inherits="Manager_Menu_AddMenu" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div align="center">
        <table style="width: 100%" border="1" cellpadding="2" cellspacing="2" class="tbl_Comon-Search">
            <tr>
                <td align="left" class="td_Control" colspan="2">
                    <asp:ValidationSummary ID="ValidationSummary1" runat="server" ValidationGroup="grpAdd" />
                </td>
            </tr>
            <tr>
                <td class="td_Title" style="width: 100px">
                    <asp:Label ID="Label1" runat="server" Text="Tên Menu"></asp:Label></td>
                <td align="left" class="td_Control">
                    <asp:TextBox ID="txtMenu" runat="server" Width="95%" ValidationGroup="grpAdd"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtMenu"
                        ErrorMessage="Nhập tên Menu" ValidationGroup="grpAdd">*</asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td class="td_Title" style="width: 100px">
                    <asp:Label ID="Label2" runat="server" Text="Đường dẫn"></asp:Label></td>
                <td align="left" class="td_Control">
                    <asp:TextBox ID="txtURL" runat="server" Width="95%"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="td_Title" style="width: 100px">
                    <asp:Label ID="Label3" runat="server" Text="Cấp Menu"></asp:Label></td>
                <td align="left" class="td_Control">
                    <asp:DropDownList ID="ddlLevel" runat="server">
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td class="td_Title" style="width: 100px">
                    <asp:Label ID="Label4" runat="server" Text="Loại Menu"></asp:Label></td>
                <td align="left" class="td_Control">
                    <asp:DropDownList ID="ddlKindNo" runat="server">
                        <asp:ListItem Value="A">Admin</asp:ListItem>
                        <asp:ListItem Value="H">Home</asp:ListItem>
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td class="cssManage_left" colspan="2">
                </td>
            </tr>
            <tr>
                <td style="width: 100px">
                </td>
                <td style="height: 24px" align="left">
                    <!--<asp:Button ID="btnAdd_ChuDe" runat="server" Text="Thêm mới" CssClass="cssButton" />-->
                    <asp:Button ID="btnAdd" runat="server" CssClass="cssButton" Text="Bảo lưu" Width="80px"
                        OnClick="btnAdd_Click" ValidationGroup="grpAdd" />
                    <asp:Button ID="btnCancel" runat="server" CssClass="cssButton" Text="Trở về" OnClick="btnCancel_Click"
                        Width="80px" /></td>
            </tr>
        </table>
    </div>
</asp:Content>
